package com.example.mypotiota_si.Adapter;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.example.mypotiota_si.Activity.ShouYe_SchoolActivity;
import com.example.mypotiota_si.R;

public class ListViewAdapter_sy extends RecyclerView.Adapter<ListViewAdapter_sy.ViewHolder> {
    Context context;
    public ListViewAdapter_sy(Context context) {
        this.context=context;
    }

    @NonNull
    @Override
    public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
        View view=View.inflate(parent.getContext(), R.layout.activity_shou_ye,null);
        return new ViewHolder(view);
    }

    @Override
    public void onBindViewHolder(@NonNull ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {

        return 0;
    }

    public class ViewHolder extends RecyclerView.ViewHolder {
        private TextView xx_name;
        private ImageView ss;
        public ViewHolder(@NonNull View itemView) {
            super(itemView);
            xx_name=itemView.findViewById(R.id.title_xx_name);
            ss=itemView.findViewById(R.id.title_ss);
        }
    }
}
